package com.rajesh.messageservice.bean;

import java.util.HashMap;

public class Action {
    private ActionType Type;
    private HashMap<String, Object> Args;

    public ActionType getType() {
        return Type;
    }

    public void setType(ActionType type) {
        this.Type = type;
    }

    public HashMap<String, Object> getArgs() {
        return Args;
    }

    public void setArgs(HashMap<String, Object> args) {
        this.Args = args;
    }

    public Action() {
        this.Args = new HashMap<>();
    }

    public Action(ActionType type, HashMap<String, Object> args) {
        this.Type = type;
        this.Args = args;
    }
}

